package com.slliver.nacosconfig.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "admin.user") // 实现自动配置刷新，推荐使用这种
public class AdminUserProperties {

    private String nickname;
    private String age;
    private String phone;
    private String address;

}
